package com.start.common.std;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public abstract class StartBaseSingleton<T extends StartBaseSingleton> {
    private boolean isLoad = false;

    protected StartBaseSingleton() {
        log.info("当前对象StartBaseSingleton：" + this);
    }

    /**
     * 调用初始化函数
     */
    public abstract void init();

    protected void onDestroy() {

    }

}
